interface ObjGroup {
    readonly name:string,
    age:number,
    sex?:string,
}
let objName:ObjGroup = {
    name:'xiaoming',
    age:20,
    sex:'男'
}
let objName1:ObjGroup = {
    name:'hauhua',
    age:18
}


let objName3:{name:string,age:number,sex?:string,[propName:string]:any};
objName3 = {
    name:'tom',
    age:10,
    sex:'男',
}
objName3.zhang = 'bangbang';
console.log(objName3);
export {
    objName,
    objName1
}


